<style>
.imgContainer1{ 
    width: 180px;
    height: 180px;
    margin: 5px auto;
}
.button_center{
    display: inherit;
	margin: 0px auto;
}
.imgContainer1 .imgBackground1{
    width: 180px;
    height: 180px;
    border: 1px dashed #999999;
    text-align: center;
    line-height: 158px;
    font-size: 100px;
    background-color: #eeeeee;
    color: #999999; 
    position: absolute;
}
.imgContainer1 .imgBackground2{
    width: 180px;
    height: 180px;
    position: absolute;
    margin: 1px;
}
.imgContainer1 .k-upload{
	opacity: 0;
}
.imgContainer1 .k-upload .k-dropzone{
	padding: 0px;
}
.imgContainer1 .k-upload .k-upload-button{
    width: 180px;
    height: 180px;
}
</style>
<!DOCTYPE html>
<div ng-controller="shopProductCtrl">
	<div class="well">
		<div class="titleContainer">
			<div class="leftTitle">咨询管理</div>
		</div>
		
		<div id="operateButtonGroup" class="operateContainer">
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',true)">全选</button>
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',false)">取消</button>
			<button class="k-button k-state-default" ng-click="addArticle()">新建文章</button>
		</div>
	
		<div class="tableList">
			<div kendo-grid="grid" k-options="gridOptions"></div>
		</div>
	</div>
	
    <div kendo-window="articleWindow" k-title="'新建图文'" k-width="850" k-min-height="400" k-visible="false" k-modal="true" style="overflow:hidden">
	     <div class="form-horizontal form-widgets" style="padding:10px">
	     <section style="height:270px;">
	     	<div class="col-sm-6">
	            <div class=" col-sm-12 push"  ng-show="belongSpecial">
			        <label class="control-label col-sm-3">所属专辑</label>
			        <div class="col-sm-7 push">
			            <input id="belongAlbum"/>
			        </div>
			    </div>
			    <div class=" col-sm-12 push">
			        <label class="control-label col-sm-3">文章标题</label>
			        <div class="col-sm-7 push">
			            <input ng-model="article.title" class="k-textbox"/> 
			        </div>
			    </div>
			    <div class="col-sm-12 push">
			        <label class="control-label col-sm-3">文章概述</label>
			        <div class="col-sm-7 push">
			            <input ng-model="article.digest" class="k-textbox"/>
			        </div>
			    </div>
			    <div class="col-sm-12 push">
			        <label class="control-label col-sm-3">文章作者</label>
			        <div class="col-sm-7 push">
			            <input ng-model="article.author" class="k-textbox"/>
			        </div>
			   </div>
			    <div class="col-sm-12 flot">
			        <label class="col-sm-3 push" style="text-align:right">发布日期</label>
			        <div class="col-sm-7 push issused">
			            <input id="publish_time2"/>
			        </div>
			        </div>
			</div>
			<div class="col-sm-5">
			     <div class="col-sm-12">
			        <label class="control-label col-sm-11" style="text-align:left">缩略图上传</label>
			        <div class="col-sm-11 push">（【尺寸要求】高度:180px &nbsp;&nbsp; 宽度:180px &nbsp;&nbsp;<br> 大小:20Kb以内  &nbsp;&nbsp; 格式:jpg）</div>
			     </div>
			   	 <div class="col-sm-11">
			        <div class="col-sm-11">
		   	 			<div class="imgContainer1">
		                	<div class="imgBackground1">
		                		<span class="glyphicon glyphicon-plus"></span>
		                	</div>
		                	<div class="imgBackground2" id="logo2_img"></div>
		                	<input type="file" name="file" id="logo2"/>
		                	<input type="hidden" id="logo2_url"/>
	                	</div>
	   	 			</div>
			    </div>
			  </div>
	     </section>
		  <section class="well-lg" style="height:400px;">
		  		<textarea id="editor" style="width:750px;margin:auto;position: inherit;"></textarea>
		  </section>
	        	<button class="k-button k-state-default button_center " ng-click="addNewArticle()">保存</button>
     	</div>
     </div>
	    	

</div>